package com.yc.dict.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.yc.base.BaseService;
import com.yc.dict.entity.DictDetail;
import com.yc.dict.vo.DictDetailVo;

import java.util.List;

/**
 * <p>
 * 后台字典详情表 服务类
 * </p>
 *
 * @author bao
 * @since 2021-12-10
 */
public interface IDictDetailService extends BaseService<DictDetail> {

    boolean create(DictDetail dictDetail);

    boolean delete(List<Long> ids);

    boolean update(DictDetail dictDetail);

    DictDetail queryById(Long id);

    List<DictDetail> queryByDictId(Long dictId);

    List<DictDetail> selectList();

    IPage<DictDetail> selectPage(IPage<DictDetail> page);

    List<DictDetailVo> queryByDictName(String dictName);


}
